package com.wg.system.dto;


import io.swagger.annotations.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 部门表(SysDept)入参
 *
 * @author wg
 * @date 2022-04-24 10:37:35
 */
@Data
@ApiModel("部门表")
public class SysDeptDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("部门id")
    private Long id;

    @ApiModelProperty("父部门id")
    private Long parentId;

    @ApiModelProperty("祖级列表")
    private String ancestors;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("显示顺序")
    private Integer orderNum;

    @ApiModelProperty("负责人")
    private String leader;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("部门状态（0正常 1停用）")
    private String status;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}

